package com.sun.spring5.config;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
@Aspect
public class PersonSerivceImpl /*implements PersonSerivce*/{
    @Before(value = "execution(* com.sun.spring5.bean.Orders.show())")
    public void before(){
        System.out.println("before执行了.....");
    }
}
